home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / misc / AmigaFax1_42.lha / AmigaFax / Other / PasFax.lzh / PasFax / config / DVIprint.printers next >
Text File  |  1992-12-07  |  28KB  |  896 lines

  1. ;
  2. ; $VER: DVIprint.printers 1.19 (22.05.92)
  3. ;
  4. ; This file defines all printers which use DVIprints fast hardcopy routines.
  5. ;
  6. ; The Generic, SLM804 (Atari only), DeskJet/LaserJet  printers are not defined here,
  7. ; as they use special routines in DVIprint. However the description keywords
  8. ; may be used here too for these printers.
  9. ;
  10. ;
  11. ; List of keywords:
  12. ;
  13. ;printer        <name>                  (required)
  14. ;draft          on/off                  (optional)
  15. ;optimize       on/off                  (optional)
  16. ;                       (if not given, command line arguments don't matter)
  17. ;
  18. ; The above keywords must *precede* the following ones:
  19. ;
  20. ;resolution     <res> or <resx/rexy>    (required)
  21. ;gfx_str        <bytes>                 (required, ex. 27 * 3 LOW HIGH)
  22. ;skip_str       <bytes>                 (required, ex. 27 J LOW)
  23. ;skips          <bytes>                 (required, ex. 1 1 22)
  24. ;height         <value>                 (required, ex. 24)
  25. ;blank          <method>                (required, SPACES, POINT or GFX)
  26. ;                       (the internal bitmap height is a multiple of
  27. ;                       this value)
  28. ;grouping       <value>                 (required, 1 or 3 for 8 or 24 pins)
  29. ;
  30. ;paper_width    <value>                 (required, ex. 8.0in)
  31. ;                       (width in some TeX dimension (same as for
  32. ;                       specifying offsets in DVIprint or ShowDVI))
  33. ;init_str       <bytes>                 (optional, ex. 27 @)
  34. ;exit_str       <bytes>                 (optional, ex. 27 @)
  35. ;ID_str         <string>                (optional)
  36. ;prtbuffer      <value>                 (optional)
  37. ;
  38. ;description    <no parameter>          (optional)
  39. ;                       (starts a description of the current
  40. ;                       configuration. This description is dumped to
  41. ;                       the screen if the 'ShowPrinters' option of
  42. ;                       DVIprint is selected together with a printer
  43. ;                       name.)
  44. ;end_desc       <no parameter>          (required to end a description)
  45. ;#                                      (required, ends definition)
  46. ;
  47. ;
  48. ; The following is allowed in a <bytes> argument:
  49. ;       o decimal number        (e.g. 27 for ESC)
  50. ;       o 0xhex number          (e.g. 0x1b for ESC)
  51. ;       o 'ascii character'     for the numbers 0-9. (e.g. '3')
  52. ;       o ESC                   value 27
  53. ;       o FS                    value 28
  54. ;       o LOW, HIGH             inserts numerical argument in gfx_str
  55. ;               and skip_str commands, low or high byte.
  56. ;       o NR100, NR10, NR1      inserts numerical argument in gfx_str
  57. ;               and skip_str commands.
  58. ;               E.g. "251" -> NR100 == 2, NR10 == 5, NR1 == 1
  59. ;
  60. ; BUGS: ';' is not valid. ; serve as a comment delimiter,
  61. ;               use 59 or 0x3B instead.
  62. ;
  63. ; Valid separators are spaces, tabs and commas.
  64. ;
  65. ; The optimize and draft switches have no internal use, they only
  66. ; allow the user to switch quickly between different printing
  67. ; methods, resolutions or whatever. For example, `optimize' may
  68. ; determine the blanking method, and `draft' the resolution.
  69. ;
  70. ; init_str can use the LOW character. The value passed will be the
  71. ; number of 'pica' wide characters that fit on a line. This value is
  72. ; computed from paper_width. Note that most printer can only print
  73. ; over 8 inch, even though US paper is 8.5 inch wide. The correct
  74. ; value to set for paper_width is nevertheless 8.0in.
  75. ;
  76. ; Be very careful when modifying these values! You could meet the GURU.
  77. ;
  78. ; A more complete description of all the keywords is given at the end
  79. ; of this file. Please look at the configurations below first to get an
  80. ; idea of what you can do.
  81.  
  82. ; These are true 360/360 dpi 24 pin printers
  83. printer         NECP6
  84. draft           off
  85. ;optimize       on      ; any choice
  86. resolution      360
  87. ID_str          NEC P6 360dpi (POINT)
  88. description
  89. This is your favorite NEC P6 printer driver. You should use the option
  90. 'unidir off' too.
  91. end_desc
  92. gfx_str         FS 'Z' LOW HIGH
  93. skip_str        FS '3' LOW 10
  94. skips           1 47
  95. height          48
  96. blank           POINT
  97. grouping        3
  98. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  99. exit_str        13 ESC 48
  100. paper_width     8.0in
  101. #
  102.  
  103. ; Use these as NEC and EpsonLQ 180dpi (draft) modes
  104. ; All these entries are the same, exception taken from the blanking method.
  105.  
  106. printer         NECP6
  107. draft           on
  108. ;optimize       on
  109. ID_str          NECP6/LQ 180dpi (POINT)
  110. resolution      180
  111. gfx_str         ESC '*' 39 LOW HIGH
  112. skip_str        13 ESC 'J' LOW
  113. skips           24
  114. height          24
  115. blank           POINT
  116. grouping        3
  117. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  118. exit_str        13
  119. paper_width     8.0in
  120. #
  121.  
  122. ; These are 360/180 dpi 24 pin printers
  123. printer         NECP6draft
  124. ;draft          off
  125. ;optimize       on      ; any choice
  126. resolution      360/180
  127. ID_str          NEC P6 360x180dpi (POINT)
  128. description
  129. This is a NEC P6 driver for 360x180dpi. This needs only on pass.
  130. end_desc
  131. gfx_str         ESC '*' 40 LOW HIGH
  132. skip_str        ESC '3' LOW 10
  133. skips           24
  134. height          24
  135. blank           POINT
  136. grouping        3
  137. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  138. exit_str        13 ESC 48
  139. paper_width     8.0in
  140. #
  141.  
  142. printer         NECP6c
  143. draft           off
  144. optimize        on
  145. ID_str          NEC P6 360dpi (SPACES)
  146. description
  147. Some compatibles printer's heads *do* backstep when using the ESC '$'
  148. `move to point' command. If this is not the case for your printer, you
  149. should use the NECP6c printer driver, which use either the SPACES or
  150. the GFX blanking method as defined below, instead of the regular POINT
  151. method above. The Citizen Swift 24 is known to required this
  152. configuration: great speed loss occurs while the printer's head moves
  153. back *and* forth on the same line with the POINT method.
  154. end_desc
  155. resolution      360
  156. gfx_str         FS 'Z' LOW HIGH
  157. skip_str        FS '3' LOW 10
  158. skips           1 47
  159. height          48
  160. blank           SPACES
  161. grouping        3
  162. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  163. exit_str        13 ESC '0'
  164. paper_width     8.0in
  165. #
  166.  
  167. printer         NECP6c
  168. draft           on
  169. optimize        on
  170. ID_str          NECP6/LQ 180dpi (SPACES)
  171. resolution      180
  172. gfx_str         ESC '*' 39 LOW HIGH
  173. skip_str        13 ESC 'J' LOW
  174. skips           24
  175. height          24
  176. blank           SPACES
  177. grouping        3
  178. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  179. exit_str        13
  180. paper_width     8.0in
  181. #
  182.  
  183. printer         NECP6c
  184. draft           off
  185. optimize        off
  186. resolution      360
  187. ID_str          NEC P6 360dpi (GFX)
  188. gfx_str         FS 'Z' LOW HIGH
  189. skip_str        FS '3' LOW 10
  190. skips           1 47
  191. height          48
  192. blank           GFX
  193. grouping        3
  194. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  195. exit_str        13 ESC '0'
  196. paper_width     8.0in
  197. #
  198.  
  199. printer         NECP6c
  200. draft           on
  201. optimize        off
  202. ID_str          NECP6/LQ 180dpi (GFX)
  203. resolution      180
  204. gfx_str         ESC '*' 39 LOW HIGH
  205. skip_str        13 ESC 'J' LOW
  206. skips           24
  207. height          24
  208. blank           GFX
  209. grouping        3
  210. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  211. exit_str        13
  212. paper_width     8.0in
  213. #
  214.  
  215.  
  216. printer         LQ
  217. draft           off
  218. optimize        on
  219. ID_str          Epson LQ 360/180dpi (SPACES)
  220. description
  221. This is for 360/180 24 pin printers like the Epson LQ 800
  222. end_desc
  223. resolution      360/180
  224. gfx_str         ESC '*' 40 LOW HIGH
  225. skip_str        13 ESC 'J' LOW
  226. skips           24
  227. height          24
  228. blank           SPACES
  229. grouping        3
  230. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  231. exit_str        13
  232. paper_width     8.0in
  233. #
  234.  
  235. printer         LQ
  236. draft           off
  237. optimize        off
  238. resolution      360/180
  239. ID_str          Epson LQ 360/180dpi (GFX)
  240. gfx_str         ESC '*' 40 LOW HIGH
  241. skip_str        13 ESC 'J' LOW
  242. skips           24
  243. height          24
  244. blank           GFX
  245. grouping        3
  246. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  247. exit_str        13
  248. paper_width     8.0in
  249. #
  250.  
  251. printer         LQd
  252. draft           off
  253. ;optimize       on
  254. ID_str          Epson LQ 360/180dpi (POINT)
  255. description
  256. Try this and see if your printer's head backsteps or not. Don't use
  257. this with the Epson LQ 800 for example.
  258. end_desc
  259. resolution      360/180
  260. gfx_str         ESC '*' 40 LOW HIGH
  261. skip_str        13 ESC 'J' LOW
  262. skips           24
  263. height          24
  264. blank           POINT
  265. grouping        3
  266. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  267. exit_str        13
  268. paper_width     8.0in
  269. #
  270.  
  271. ; Epson FX (9 pin printer) and compatibles
  272.  
  273. printer         FX
  274. draft           off
  275. ;optimize       off     ; any choice
  276. ID_str          9 pin printer 240/216dpi (POINT)
  277. description
  278. Use this configuration if your printer's head does *not* backstep when
  279. using the ESC '$' `move to point' command as used here. Otherwise use
  280. some 'FXc' type configuration
  281. end_desc
  282. resolution      240/216
  283. gfx_str         ESC '*' 3 LOW HIGH
  284. skip_str        13 ESC 'J' LOW
  285. skips           1 1 22
  286. height          24
  287. blank           POINT
  288. grouping        1
  289. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  290. exit_str        13
  291. paper_width     8.0in
  292. prtbuffer       5000
  293. #
  294.  
  295. printer         FXc
  296. draft           off
  297. optimize        on
  298. ID_str          9 pin printer 240/216dpi (SPACES)
  299. resolution      240/216
  300. gfx_str         ESC '*' 3 LOW HIGH
  301. skip_str        13 ESC 'J' LOW
  302. skips           1 1 22
  303. height          24
  304. blank           SPACES
  305. grouping        1
  306. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  307. exit_str        13
  308. paper_width     8.0in
  309. prtbuffer       5000
  310. description
  311. This is the standard driver for 9 pin FX compatible printers like the
  312. the Star SG 10 printers, if these do not know the ESC $ command or
  313. backstep when using it.
  314. end_desc
  315. #
  316.  
  317. printer         FXc
  318. draft           off
  319. optimize        off
  320. ID_str          9 pin printer 240/216dpi (GFX)
  321. resolution      240/216
  322. gfx_str         ESC '*' 3 LOW HIGH
  323. skip_str        13 ESC 'J' LOW
  324. skips           1 1 22
  325. height          24
  326. blank           GFX
  327. grouping        1
  328. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  329. exit_str        13
  330. paper_width     8.0in
  331. prtbuffer       5000
  332. #
  333.  
  334.  
  335. printer         LQ
  336. draft           on
  337. optimize        on
  338. ID_str          LQ 180dpi (SPACES)
  339. resolution      180
  340. gfx_str         ESC '*' 39 LOW HIGH
  341. skip_str        13 ESC 'J' LOW
  342. skips           24
  343. height          24
  344. blank           SPACES
  345. grouping        3
  346. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  347. exit_str        13
  348. paper_width     8.0in
  349. #
  350.  
  351. printer         LQ
  352. draft           on
  353. optimize        off
  354. ID_str          LQ 180dpi (GFX)
  355. resolution      180
  356. gfx_str         ESC '*' 39 LOW HIGH
  357. skip_str        13 ESC 'J' LOW
  358. skips           24
  359. height          24
  360. blank           GFX
  361. grouping        3
  362. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  363. exit_str        13
  364. paper_width     8.0in
  365. #
  366.  
  367. printer         LQd
  368. draft           on
  369. optimize        off
  370. ID_str          LQ 180dpi (POINT)
  371. resolution      180
  372. gfx_str         ESC '*' 39 LOW HIGH
  373. skip_str        13 ESC 'J' LOW
  374. skips           24
  375. height          24
  376. blank           POINT
  377. grouping        3
  378. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  379. exit_str        13
  380. paper_width     8.0in
  381. #
  382.  
  383. ; 9 pin draft modes.
  384.  
  385. printer         FX
  386. draft           on
  387. optimize        on
  388. ID_str          9 pin printer 120/72dpi (POINT)
  389. description
  390.   You could imagine a 120/144 or 72/72 draft mode...
  391. end_desc
  392. resolution      120/72
  393. gfx_str         ESC '*' 1 LOW HIGH
  394. skip_str        13 ESC 'J' LOW
  395. skips           24
  396. height          8
  397. blank           POINT
  398. grouping        1
  399. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  400. exit_str        13
  401. paper_width     8.0in
  402. prtbuffer       5000
  403. #
  404.  
  405. printer         FXc
  406. draft           on
  407. optimize        on
  408. ID_str          9 pin printer 120/72dpi (SPACES)
  409. description
  410.   You could imagine a 120/144 or 72/72 draft mode...
  411. end_desc
  412. resolution      120/72
  413. gfx_str         ESC '*' 1 LOW HIGH
  414. skip_str        13 ESC 'J' LOW
  415. skips           24
  416. height          8
  417. blank           SPACES
  418. grouping        1
  419. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  420. exit_str        13
  421. paper_width     8.0in
  422. prtbuffer       5000
  423. #
  424.  
  425. printer         FXc
  426. draft           on
  427. optimize        off
  428. ID_str          9 pin printer 120/72dpi (GFX)
  429. resolution      120/72
  430. gfx_str         ESC '*' 1 LOW HIGH
  431. skip_str        13 ESC 'J' LOW
  432. skips           24
  433. height          8
  434. blank           GFX
  435. grouping        1
  436. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  437. exit_str        13
  438. paper_width     8.0in
  439. prtbuffer       5000
  440. #
  441.  
  442. ; these are the internal printer drivers. This file is only read for
  443. ; their description, not settings
  444.  
  445. printer generic
  446. description
  447. This driver uses your preferences printer. You can override the
  448. density with the DENSITY/-O switch. The optimize and draft switches
  449. have no meaning with this printer.
  450. end_desc
  451. #
  452.  
  453. printer DeskJet
  454. optimize        on
  455. description
  456. This driver is for the HP DeskJet. If you are using WB2.0 or the WB
  457. 1.3.3 parallel.device you may use the `turbo' (-T) option to get more
  458. speed. Use the compression mode.
  459. end_desc
  460. #
  461.  
  462. printer DeskJet
  463. optimize        off
  464. description
  465. This driver is for the HP DeskJet. If you are using WB2.0 or the WB
  466. 1.3.3 parallel.device you may use the `turbo' (-T) option to get more
  467. speed. Do not use the compression mode.
  468. end_desc
  469. #
  470.  
  471. printer CheapDJ
  472. optimize        on
  473. description
  474. This driver is for the HP DeskJet. It works like the DeskJet driver
  475. with one exception: it uses the cheap mode of the printer, thus saving
  476. some ink. Use the compression mode.
  477. end_desc
  478. #
  479.  
  480. printer CheapDJ
  481. optimize        off
  482. description
  483. This driver is for the HP DeskJet. It works like the DeskJet driver
  484. with one exception: it uses the cheap mode of the printer, thus saving
  485. some ink. Do not use the compression mode.
  486. end_desc
  487. #
  488.  
  489. printer LaserJet
  490. optimize        on
  491. description
  492. This driver is for the HP LaserJet. It is nearly the same as the
  493. DsekJet driver. It uses no Font-Downloading. Sorry.
  494. Use the compression mode.
  495. end_desc
  496. #
  497.  
  498. printer LaserJet
  499. optimize        off
  500. description
  501. This driver is for the HP LaserJet. It is nearly the same as the
  502. DsekJet driver. It uses no Font-Downloading. Sorry.
  503. Do not use the compression mode.
  504. end_desc
  505. #
  506.  
  507.  
  508. printer         NECP7
  509. draft           off
  510. ;optimize       off             ; optimization does not matter
  511. resolution      360
  512. ID_str          NEC P7 360dpi (POINT)
  513. description
  514. This is a driver for the NEC P7 printer, which has an extra large
  515. tractor, 13.6 inch wide.
  516. end_desc
  517. gfx_str         FS 'Z' LOW HIGH
  518. skip_str        FS '3' LOW 10
  519. skips           1 47
  520. height          48
  521. blank           POINT
  522. grouping        3
  523. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  524. exit_str        ESC 48
  525. paper_width     13.6in
  526. #
  527.  
  528. printer         NECP7
  529. draft           on
  530. ;optimize       off             ; optimization does not matter
  531. resolution      180
  532. ID_str          NEC P7 180dpi (POINT)
  533. description
  534. This is a driver for the NEC P7 printer, which has an extra large
  535. tractor, 13.6 inch wide.
  536. end_desc
  537. gfx_str         FS 'Z' LOW HIGH
  538. skip_str        FS '3' LOW 10
  539. skips           24
  540. height          24
  541. blank           POINT
  542. grouping        3
  543. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  544. exit_str        ESC 48
  545. paper_width     13.6in
  546. #
  547.  
  548.  
  549. printer         FujitsuDL1100
  550. draft           off
  551. optimize        off
  552. ID_str          FujitsuDL1100 (SPACES)
  553. description
  554. Fujitsu DL1100 mit Befehlssprache DPL24C+, Blankmethode SPACES
  555. end_desc
  556. resolution      360
  557. gfx_str         ESC '*' 40 LOW HIGH
  558. skip_str        13 ESC 'e' 'J' NR100 NR10 NR1
  559. skips           1 47
  560. height          48
  561. blank           SPACES
  562. grouping        3
  563. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  564. exit_str        ESC 64
  565. paper_width     8.0in
  566. #
  567.  
  568. printer         FujitsuDL1100
  569. draft           off
  570. optimize        on
  571. ID_str          FujitsuDL1100 (GFX)
  572. description
  573. Fujitsu DL1100 mit Befehlssprache DPL24C+
  574. end_desc
  575. resolution      360
  576. gfx_str         ESC '*' 40 LOW HIGH
  577. skip_str        13 ESC 'e' 'J' NR100 NR10 NR1
  578. skips           1 47
  579. height          48
  580. blank           GFX
  581. grouping        3
  582. init_str        ESC 'P' 13 ESC 'O' ESC 'l' 0 ESC 'Q' LOW
  583. exit_str        ESC 48
  584. paper_width     8.0in
  585. #
  586.  
  587.  
  588. printer         BJ300
  589. draft           off
  590. ;optimize       on      ; any choice
  591. resolution      360
  592. ID_str          Canon BJ 300 360dpi (SPACES)
  593. description
  594.   Canon BJ300 in IBM Proprinter emulation mode.
  595.   For  best  results,  use  your BJ300 in Prowriter mode only, so
  596. that  one line can be printed in one pass.  In the Epson LQ mode,
  597. a single pass can only print 360x180 dpi.
  598.   Please note, that it matters whether the printer is in HQ (High
  599. Quality)  or  HS  (High Speed) mode!
  600. (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
  601. end_desc
  602. gfx_str         FS 'C' 'B' 4 4 LOW HIGH
  603. skip_str        FS 'C' 'J' 4 LOW 13
  604. skips           48
  605. height          48
  606. blank           SPACES
  607. grouping        6
  608. init_str        ESC 'R' ESC 'I' 2
  609. exit_str        13
  610. paper_width     8.0in
  611. #
  612.  
  613. printer         BJ300
  614. draft           on
  615. ;optimize       on      ; any choice
  616. resolution      360/180
  617. ID_str          Canon BJ 300 360/180dpi (SPACES)
  618. description
  619.   Canon BJ300 in IBM Proprinter emulation mode.
  620.   Only  dviprint and transfer to the printer will be faster.  The
  621.   printer  itself  uses  the  same  resolution  (and speed) as in
  622.   360x360dpi mode and makes makes every dot a little square.
  623.   You  might  siwtch  the  printer to HS mode manually, or change
  624.   'init_str' to "ESC 'R' ESC 'I' 0"
  625.   (From: Martin_Horneffer@mowgli.fido.de (Martin Horneffer))
  626. end_desc
  627. gfx_str         FS 'C' 'B' 0 4 LOW HIGH
  628. skip_str        FS 'C' 'J' 0 LOW 13
  629. skips           24
  630. height          24
  631. blank           SPACES
  632. grouping        3
  633. init_str        ESC 'R' ESC 'I' 2
  634. exit_str        13
  635. paper_width     8.0in
  636. #
  637.  
  638. printer         BJ130draft
  639. draft           off
  640. optimize        on
  641. ID_str          Canon BJ130 180dpi (SPACES)
  642. description
  643. Canon BJ130 draft 180dpi, Blankmethode SPACES
  644. (From: Norvald Espedal <norvald@broremann.hsr.no>)
  645. end_desc
  646. resolution      180
  647. gfx_str         FS 'C' 'B' 0 0 LOW HIGH
  648. skip_str        13 13 FS 'C' 'J' 0 LOW
  649. skips           24
  650. height      24
  651. blank           SPACES
  652. grouping    3
  653. init_str        18 ESC 'P' 0 ESC 'l' 0 ESC 'Q' LOW
  654. exit_str        13 ESC 64
  655. paper_width     8.0in
  656. #
  657.  
  658. printer         BJ130
  659. draft           off
  660. optimize        on
  661. ID_str          Canon BJ130 360dpi (SPACES)
  662. description
  663. Canon BJ130 360dpi, Blankmethode SPACES
  664. (From: Norvald Espedal <norvald@broremann.hsr.no>)
  665. end_desc
  666. resolution      360
  667. gfx_str         FS 'C' 'B' 4 4 LOW HIGH
  668. skip_str        13 13 FS 'C' 'J' 4 LOW
  669. skips           48
  670. height      48
  671. blank           SPACES
  672. grouping    6
  673. init_str    18 ESC 'G' ESC 'P' 0 ESC 'l' 0 ESC 'Q' LOW
  674. exit_str        13 ESC 64
  675. paper_width     8.0in
  676. #
  677.  
  678. ; Fax entry 3.12.92 by Martin Horneffer
  679. ; (modified by Martin Steppler 4.12.92)
  680.  
  681. printer         Fax
  682. draft           off
  683. ID_str          Fax fine resolution 216/216 (POINTS)
  684. description
  685. for fax - use with "IFF" or dvifax
  686. end_desc
  687. resolution      216/216
  688. paper_width     8.0in
  689.  
  690. ; just to make dviprint happy:
  691. gfx_str         '?'
  692. skip_str        '?'
  693. skips           1
  694. height          1
  695. blank           GFX
  696. grouping        1
  697. #
  698.  
  699. printer         FaxDraft
  700. draft           on
  701. ID_str          Fax normal resolution 216/108 (POINTS)
  702. description
  703. for fax - use with "IFF" or dvifax
  704. end_desc
  705. resolution      216/108
  706. paper_width     8.0in
  707.  
  708. ; just to make dviprint happy:
  709. gfx_str         '?'
  710. skip_str        '?'
  711. skips           1
  712. height          1
  713. blank           GFX
  714. grouping        1
  715. #
  716.  
  717. ;       Keywords and possibilities:
  718. ;
  719. ; printer
  720. ;       - no space allowed in name, avoid $ as may be filtered out by
  721. ;         some shells.
  722. ;       - This keyowrd starts a configuration definition. If other
  723. ;         keywords are found first, an 'out of context' error will
  724. ;         occur.
  725.  
  726. ; draft
  727. ;       - should come (if used) after the printer keyword.
  728. ;       - allows to choose different definitions according to the
  729. ;         draft option supplied to DVIprint. If not used, the first
  730. ;         matching definition will be used. DViprint's default is
  731. ;         draft off.
  732. ;
  733. ;       This does not change the work of the driver. It's only for
  734. ;       you, to distinguish different entries.
  735.  
  736. ; optimize
  737. ;       - should come (if used) after the printer keyword. 'draft' and
  738. ;         'optimize' may come in any order.
  739. ;       - allows to choose different definitions according to the
  740. ;         optimize option supplied to DVIprint. If not used, the first
  741. ;         matching definition will be used. DVIprint's default is
  742. ;         optimize on.
  743. ;
  744. ;       This does not change the work of the driver. It's only for
  745. ;       you, to distinguish different entries. With draft and otimize,
  746. ;       you can make 4 different entries for 'one' printer name.
  747.  
  748. ; ID_str
  749. ;       - use recommend.
  750. ;       - only one line long.
  751. ;       - will be put in logfile, for information
  752. ;       - should come after 'printer', 'draft', and 'optimize', this
  753. ;         for efficiency while parsing the configuration file.
  754.  
  755. ; The following keywords are reserved for the standard (i.e. the one
  756. ; that you can define) drivers only. They cannot be used with the
  757. ; special drivers DVIprint knows about (generic, SLM084(ATARI only),
  758. ; DeskJet, and CheapDJ)
  759.  
  760. ; resolution
  761. ;       - unit (implizit): dpi
  762. ;       - <nn> for square resolution (like NEC 360 dvpi)
  763. ;       - <hh/vv> for non square ones (like FX 80, Epson LQ 800 360/180
  764.  
  765. ; gfx_str
  766. ;       - sequence sent to the printer to initiate a graphics sequence
  767. ;       - Allows parameters LOW, HIGH: the number of bytes sent will
  768. ;         be inserted (number of bytes/3 for 24 pin printers)
  769.  
  770. ; skip_str
  771. ;       - sequence sent to the printer to skip lines, the number of
  772. ;         lines is given by the 'skips' keyword. Only the LOW
  773. ;         parameter is allowed, meaning that DVIprint is not able to
  774. ;         skip more than 255 line in one command
  775. ;       - the string may or may not depend on the printers resolution,
  776. ;         as some skip commands skip n/216, n/180, or n/360 dpi wide.
  777.  
  778. ; skips
  779. ;       - array of numbers. In each pass, the corresponding number is
  780. ;         given as the LOW parameter to the skip_str command.
  781. ;       - DVIprint will generate as many passes as number found here.
  782.  
  783. ; height
  784. ;       - because printers have a given number of pins and print them
  785. ;         in one row, and because DVIprint can will print all passes
  786. ;         as defined in the 'skips' array, the height of the internal
  787. ;         bitmap must be a multiple of this value. For example, the
  788. ;         NEC prints 24 pins in one row, but prints in two passes in
  789. ;         20dpi mode, the heigt must be a multiple of 48. The Epson FX
  790. ;         prints 240/216dpi in 3 passes, has 8 pins in one row, thus
  791. ;         the value of 24. If this value is not correct, DVIprint may
  792. ;         read innocent memory an print garbage graphics on the
  793. ;         document!
  794.  
  795. ; blank
  796. ;       - chooses between 3 blanking methods:
  797. ;         - GFX: From the left edge of where graphics really starts
  798. ;           (not the left border of the printer), to the right end of
  799. ;           the graphics (not the right border of the printer), a
  800. ;           single graphics command is used. Spaces are used to fill
  801. ;           the left border.
  802. ;         - SPACES: Spaces are used to fill the left border, but are
  803. ;           also used when between the left and the right border,
  804. ;           there is enough room for at least 6 spaces. this speeds up
  805. ;           printing of large tables which have borders.
  806. ;         - POINT: Every space is skipped by the use of the ESC '$'
  807. ;           command. This is the most efficient method in terms of
  808. ;           bytes sent to the printer, but *not* all printers support
  809. ;           this command. (My Star SG10 doesn't)
  810.  
  811. ; grouping
  812. ;       - define if this printer has 8 or 24 pins (or better if 8 or
  813. ;         24 pins should be used in this configuration, as you can for
  814. ;         example print Epson FX wise on the NEC P6, using only 8
  815. ;         pins, the corresponding entry then says 8)
  816.  
  817. ; paper_width
  818. ;       - specified in a TeX dimension (as used to define the offsets
  819. ;         in ShowDVI und DViprint).
  820. ;       - used to usually define the width of your printer, or if you
  821. ;         have special paper, such as for printing labels, you may set
  822. ;         the appropriate value here. This will avoid printing garbage
  823. ;         over the right edge of your labels, even if you misdefine
  824. ;         the page size for these in your .tex document
  825. ;       - this entry was first added because of the US vs. European
  826. ;         paper_width problem. Many TeX documents are defined 8.5 inch
  827. ;         wide paper, but most printers are only 8 inch wide, and do
  828. ;         not allow any programm to send them too much data (you then
  829. ;         eventually had to reset your printer manually). Thus this
  830. ;         value is *important*!
  831.  
  832. ; init_str
  833. ;       - used to initialze the printer. It is important that the
  834. ;         printer is set in pica mode for the spaces (and GFX)
  835. ;         blanking method to work, otherwise the printout will be
  836. ;         misaligned.
  837. ;       - It is also important that the margins be set, otherwise your
  838. ;         printout may be lacking the right side, not start on the
  839. ;         left border, present superfluous skips causing lots of
  840. ;         unaesthetic and unusable printouts.
  841. ;       - the left border should be set to 0
  842. ;       - right border sould be set to some really useful value (for
  843. ;         example 80 pica positions for all the 8 inch wide printers).
  844. ;         The use of the LOW parameter permits a setting of the width
  845. ;         according to the 'paper_width' keyword. The LOW value thus
  846. ;         holds the number of pica characters that your printer is
  847. ;         able to print. It is therefore important that the printer be
  848. ;         set to pica mode first!
  849.  
  850. ; exit_str
  851. ;       - used to reset printers, in case the hardcopy modified
  852. ;         important parameters like the line spacing.
  853. ;       - normally unused except for NEC P6/P7 in 360 dpi mode,
  854. ;         because then the printer skips lines by setting the line
  855. ;         height to 1/360 inch, thus the need to reset it at the end.
  856. ;       - this string is not used if the printing is aborted.
  857. ;       - I recommend an exit_str containing at least CR, to force the
  858. ;         printer to flush its internal buffer.
  859.  
  860. ; prtbuffer
  861. ;       - Data are being buffered in a buffer that large before being
  862. ;         sent to the printer.device.
  863. ;       - Epson FX amd compatibles are known to cause 'printer
  864. ;         trouble' requesters with the default value of DVIprint
  865. ;         (currently 10K), because DVIprints optimizations result in
  866. ;         less data being sent to the printer, while still using 10K
  867. ;         blocks, and then the printer.device wonders why the printer
  868. ;         needs so much time to print 'only' 10K. This happens more on
  869. ;         partially white pages, because skipping lines takes a lot of
  870. ;         time to printers. I does not usually happen on loaded pages,
  871. ;         because the buffer then gets filled rapidly. A value between 4000
  872. ;         and 5000 bytes is recommdend for the Epson FX.
  873.  
  874. ; description
  875. ;       - should come towards end of printer configuration.
  876. ;       - Every line till the 'end_desc' keyword is dumped to the
  877. ;         Screen if you start DVIprint with 'DVIprint [printer <name>]
  878. ;         ShowPrinters'. That way you can get a quick overview of the
  879. ;         different modes available for a given printer.
  880.  
  881. ; end_desc
  882. ;       - marks end of description
  883.  
  884. ; Further notes:
  885.  
  886. ; Use 'DVIprint showprinters' to see available names and ID_strings
  887. ; (that's why it's nice to define the ID_str)
  888.  
  889. ; Use 'DVIprint printer <name> [draft [on|off]] [optimize [on|off]]
  890. ; showprinters' to get a screen dump of the actual configuration. This
  891. ; will help you ensure that DVIprint got the correct values. You can
  892. ; even supply a DVI file name.
  893.  
  894. ;       J\"org H\"ohle
  895. ;              6-Aug-1991
  896.